package com.abe.jmcl.android.widget;

import android.os.Bundle;
import android.view.View;

import com.abe.jmcl.R;
import com.abeframe.core.base.MVPBaseActivity;
import com.abeframe.core.base.MVPBasePresenter;

import butterknife.BindView;
import cn.bingoogolapple.bgamenu.BGAMenu;

public class SlidingMenuActivity extends MVPBaseActivity {
    @BindView(R.id.menu1)
    BGAMenu menu1;
    @BindView(R.id.menu2)
    BGAMenu menu2;
    @BindView(R.id.menu3)
    BGAMenu menu3;

    @Override
    protected MVPBasePresenter createPresenter() {
        return null;
    }

    @Override
    protected int getThemeResId() {
        return 0;
    }

    @Override
    protected int getLayoutResId() {
        return R.layout.activity_widget_slidingmenu;
    }

    @Override
    protected void init(Bundle savedInstanceState) {

    }

    @Override
    protected void initDatas() {

    }

    public void toggleMenu1(View view) {
        menu1.toggle();
    }

    public void toggleMenu2(View view) {
        menu2.toggle();
    }

    public void toggleMenu3(View view) {
        menu3.toggle();
    }
}
